<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<display:table name="users" pagesize="30" id="users" requestURI="" class="tableSir">
   <display:column titleKey="registrazione.nome">
		 <s:property value="%{#attr.users.nome}"/>
   </display:column>
   <display:column titleKey="registrazione.cognome">
		 <s:property value="%{#attr.users.cognome}"/>
   </display:column>
   <display:column titleKey="registrazione.username">
		 <s:property value="%{#attr.users.username}"/>
   </display:column>
   <display:column>
        <s:url action="deleteUser" id="deleteUser">
			<s:param name="idUser"><s:property value="%{#attr.users.idUser}"/></s:param>
		</s:url>
        <s:a href="%{deleteUser}" onclick="confirm('%{getText('user.elenco.confirm')}')">
           <img src="<s:url value='/images/icon_delete.gif' />" border="0" title="<s:text name='user.elenco.delete' />" alt="<s:text name='user.elenco.delete' />"  />
         </s:a>
   </display:column>
</display:table>